Fix compile issue after extend PROP_VALUE_MAX
This commit is contained in:
parent
7bf61501b6
commit
739b6b327f
2 changed files with 2 additions and 2 deletions
|
@ -2544,7 +2544,7 @@ void CameraHardware::makeFDOrientionArray()
|
|||
|
||||
void CameraHardware::getCurrentOriention(int * oriention, int compensation,bool reverse,int re_direction)
|
||||
{
|
||||
char rota[100];
|
||||
char rota[PROPERTY_VALUE_MAX];
|
||||
property_get("sys.current.rotation",rota,"Unknow");
|
||||
mOriention = atoi(rota);
|
||||
//LOGV("FDOriention: %d",mFDOriention[mOriention]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue